package cn.sdut.training.domain;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Tag {
	private Long id;
	private String name;
	private int hits;
	private Date inDate = new Date();
	private Set<Record> records = new HashSet<Record>();
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getHits() {
		return hits;
	}
	public void setHits(int hits) {
		this.hits = hits;
	}
	public Date getInDate() {
		return inDate;
	}
	public void setInDate(Date inDate) {
		this.inDate = inDate;
	}
	public Set<Record> getRecords() {
		return records;
	}
	public void setRecords(Set<Record> records) {
		this.records = records;
	}
	
	
}
